package ciyuan.Gui.Particle;

import com.mojang.serialization.Codec;
import net.minecraft.particles.ParticleType;
import net.minecraft.util.math.vector.Vector3d;

public class DamageParticleType extends ParticleType<DamageParticleData> {

    public DamageParticleType() {
        super(true, DamageParticleData.DESERIALIZER);
    }

    @Override
    public Codec<DamageParticleData> codec() {
        return Codec.unit(new DamageParticleData(new Vector3d(0, 0, 0),0, DamageParticleData.DamageType.physicsNormal));
    }
}
